<template>
  <div class="content-info">
    <div class="info-top">
      <span class="title">预告警统计</span>
    </div>
    <div class="w-content">
      <div class="w-header">
        <div class="item">
          <div class="text">
            运行状态
          </div>
          <el-select v-model="value" placeholder="请选择">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            />
          </el-select>
        </div>
        <div class="item">
          <div class="text">
            区域
          </div>
          <el-select v-model="value" placeholder="请选择">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            />
          </el-select>
        </div>
      </div>
      <div class="w-content">
        <list-page />
      </div>
    </div>
  </div>
</template>

<script>
import ListPage from './components/info-list'
export default {
  components: {
    ListPage
  },
  data() {
    return {
      options: [{
        value: '选项1',
        label: '黄金糕'
      }, {
        value: '选项2',
        label: '双皮奶'
      }, {
        value: '选项3',
        label: '蚵仔煎'
      }, {
        value: '选项4',
        label: '龙须面'
      }, {
        value: '选项5',
        label: '北京烤鸭'
      }],
      value: ''

    }
  }
}
</script>

<style lang="scss" scoped>
.content-info{
  width: 100%;
  height: 100%;
  background-color: #f9f9f9;
  box-shadow: 0px 0px 8px 0px #ccc;
  overflow: hidden;
  .info-top{
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: left;
    border-left: 8px solid #40e0ff;
    border-radius: 8px 8px 0 0;
    background: #f9f9f9;
    span{
      margin-left: .625rem;
      font-size: 1rem;
      color: #333;
    }
  }
  .w-content{
    width: 98%;
    height: 100%;
    margin-left:10px;
    margin-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    .w-header{
      display: flex;
      .item{
        width: auto;
        height: auto;
        background-color: #EDEDED;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        margin-right: 2%;
        margin-bottom: .625rem;
        .text{
          width: 80px;
          font-size: 12px;
          color: #333333;
          text-align: center;
          font-weight:400;
        }
      }
    }
  }
}
</style>
<style>
/* element */
.el-select .el-input.is-focus .el-input__inner, .el-select .el-input__inner:focus {
    border-color: #e4e7ed !important;
}
</style>
